<?php
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category    design
 * @package     base_default
 * @copyright   Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
/**
 * @var Mage_Page_Block_Html_Header $this
 */
?>
<?php
$cartCount = $this->helper('checkout/cart')->getItemsQty();
$cartText='';
if( $cartCount > 0 ) {
    $cartText = $this->__('(%s)', $cartCount);
}
$compareCount = $this->helper('catalog/product_compare')->getItemCount();
$compareText='';
if( $compareCount > 0 ) {
    $compareText = $this->__('(%s)', $compareCount);
}
?>
<div class="header-container">
    <div class="header">
        <?php if ($this->getIsHomePage()):?>
        <h1 class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a></h1>
        <?php else:?>
        <a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a>
        <?php endif?>
        
<div class="toplink">
			<ul>
            <li class="tl_1"><a  rel="nofollow" title="My Account" href="<?php echo $this->getUrl('customer/account')?>">My Account</a></li>
				<li class="tl_2"><a rel="nofollow" class="top-link-compare"  title="Compare" onclick="popWin('<?php echo $this->getUrl('catalog/product_compare')?>','compare','top:0,left:0,width=820,height=600,resizable=yes,scrollbars=yes')" href="javascript:void();">Compare</a></li>
				<li class="tl_3"><a  rel="nofollow"  title="My Cart" href="<?php echo $this->getUrl('checkout/cart')?>">Shopping Cart</a></li>
				<li class="tl_4"><a  rel="nofollow"  title="Checkout" href="<?php echo $this->getUrl('checkout')?>">Checkout</a></li>
			</ul>
        </div>
		<?php echo $this->getChildHtml('topMenu'); ?>
        <?php echo $this->getChildHtml('topContainer'); ?>
    </div>
</div>

<?php //echo $this->getChildHtml('topMenu') ?>
<?php 
	if ($this->getIsHomePage()):
//	include('carousel.phtml'); 
	endif;
?>
